<?php
/**
 * Created by PhpStorm.
 * User: ruma
 * Date: 2019/1/18
 * Time: 12:16
 */

namespace app\admin\validate;


class LoginValidate extends BaseValidate
{
    protected $rule = [
        'admin_username' => 'require',
        'code' => 'require|captcha'
    ];
    protected $message = [
        'admin_username.require' => '请输入用户名',
        'code.require' => '请输入验证码',
        'code.captcha' => '请输入正确的验证码'
    ];
}